package org.shj.tdpl.example.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * @author Shen Huang Jian
 * @date 2019-08-27 18:08
 */
@Entity
@Table(name = "tbl_shj_staff")
@Data
public class Staff  extends BaseEntity{

    @Column
    private String name;

    @Column
    private int age;

    @Column
    private String depId;

}
